﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace MetroManagement.EntityFrameworkCore
{
    /// <summary>
    /// 地铁管理数据上下文接口
    /// </summary>
    [ConnectionStringName("MetroManagement")]
    public interface IMetroManagementDbContext : IEfCoreDbContext
    {
        DbSet<Card> Cards { get; }


        DbSet<Notice> Notices { get; }
        DbSet<Statement> Statements { get; }


        DbSet<Found> Founds { get; }


        DbSet<City> Cities { get; }
        DbSet<Line> Lines { get; }
        DbSet<Station> Stations { get; }
        DbSet<LineStation> LineStations { get; }


        DbSet<Record> Records { get; }
    }
}